"""
活动中心URL配置
"""

from django.urls import path
from . import views

urlpatterns = [
    # 社团相关路由
    path('clubs/', views.ClubListView.as_view(), name='club-list'),
    path('clubs/<int:pk>/', views.ClubDetailView.as_view(), name='club-detail'),
    path('clubs/create/', views.CreateClubView.as_view(), name='club-create'),
    path('user/clubs/', views.UserClubsView.as_view(), name='user-clubs'),

    # 活动相关路由
    path('activities/', views.ActivityListView.as_view(), name='activity-list'),
    path('activities/<int:pk>/', views.ActivityDetailView.as_view(), name='activity-detail'),
    path('activities/create/', views.CreateActivityView.as_view(), name='activity-create'),

    # 活动报名相关路由
    path('activities/registration/', views.ActivityRegistrationView.as_view(), name='activity-registration'),
]